Espressif Systems /ESP32-C2 /LEDC /TIMER1_CONF

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as TIMER1_CONF

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0DUTY_RES 0CLK_DIV0 (PAUSE)PAUSE 0 (RST)RST 0 (TICK_SEL)TICK_SEL 0 (PARA_UP)PARA_UP

Description

Timer 1 configuration

Fields

DUTY_RES

This register is used to control the range of the counter in timer %s.

CLK_DIV

This register is used to configure the divisor for the divider in timer %s.

The least significant eight bits represent the fractional part.

PAUSE

This bit is used to suspend the counter in timer %s.

RST

This bit is used to reset timer %s. The counter will show 0 after reset.

TICK_SEL

This bit is used to select clock for timer %s. When this bit is set to 1 LEDC_APB_CLK_SEL[1:0] should be 1, otherwise the timer clock may be not accurate.

1’h0: SLOW_CLK 1’h1: REF_TICK

PARA_UP

Set this bit to update LEDC_CLK_DIV_TIMER%s and LEDC_TIMER%s_DUTY_RES.

Links

() ()